﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Mover : MonoBehaviour {

	public float speed;	// Bolts need to go faster than the player's ship

	// Use this for initialization
	void Start () {
		Rigidbody rb = GetComponent<Rigidbody> ();
		rb.velocity = transform.forward * speed; // transform.forward is the local z-axis, the bolt will be fired along the axis
	}

}
